<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item>&nbsp;</van-swipe-item>
      <van-swipe-item>&nbsp;</van-swipe-item>
      <van-swipe-item>&nbsp;</van-swipe-item>
    </van-swipe>
    <van-grid>
      <van-grid-item icon="wap-home-o" text="整租" />
      <van-grid-item icon="friends-o" text="合租" />
      <van-grid-item icon="guide-o" text="地图找房" />
      <van-grid-item icon="shop-o" text="去出租" />
    </van-grid>
    <div class='classify'>
      <span class="leftId">租房小组</span><span class="rightId">更多</span>
    </div>
    <van-grid :column-num="3">
      <van-grid-item
        v-for="value in 6"
        :key="value"
        icon="photo-o"
        text="文字"
      />
    </van-grid>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    }
  },
}
</script>
<style lang="less" scoped>
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-image: url('../images/1.png');
  background-size: cover;
  background-position: 0 -50px;
  background-color: #39a9ed;
}
.classify{
display: flex;
justify-content:space-between;
height: 30px;
align-items:center;
.leftId{
  padding-left: 30px;
  font-weight:600;
}
.rightId{
  color: #ccc;
    padding-right: 30px;
  font-size:14px;
}
}
</style>
